<style>
    .ddv table tr td,th {
        border: solid 1px #ddd;
        padding: 3px;
    }
    .ddv table tr th {
        background-color: #99CCCC;
    }
</style>
<table style="width: 100%;height: 100%">
    {% if NavUl is defined %}
        <tr style="height: 67px">
            <td valign="top">{{ NavUl }}</td>
        </tr>
    {% endif %}
    <tr style="height:100%;" >
        <td class="xh-datagrid">{{ List }}</td>
    </tr>
</table>

